projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad1e93
)
(x_wm_set_size_hint): Handle XGetNormalHints returning 0.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 05:29:12 +0000
(
05:29
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 05:29:12 +0000
(
05:29
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 8ff27cbff3847837bf3242a41636a9c60c132de7..ff203116e49b5964549beed3399a55bfca0b617a 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-4559,7
+4559,8
@@
x_wm_set_size_hint (f, prompting)
{
XSizeHints hints; /* Sometimes I hate X Windows... */
- XGetNormalHints (x_current_display, window, &hints);
+ if (XGetNormalHints (x_current_display, window, &hints) == 0)
+ hints.flags = 0;
if (hints.flags & PSize)
size_hints.flags |= PSize;
if (hints.flags & PPosition)